package com.cimctech.socketdemo.utils;

import android.util.Log;

import java.text.SimpleDateFormat;
import java.util.Date;

public class TimeUtils {
    private static final String TAG = "TimeUtils";

    /**
     * 获取当前时间
     * */
    public static String gprsTime(){

        Date date = new Date();
        String time = new SimpleDateFormat("yyMMddHHmmss").format(date);
        Log.e(TAG, "gprsTime: " + time);
        return time;
    }

}
